home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_urt.idb / usr / freeware / include / rle_config.h.z / rle_config.h
Encoding:
C/C++ Source or Header  |  1999-01-26  |  3.1 KB  |  127 lines

  1. /* rle_config.h
  2.  * 
  3.  * Automatically generated by make-config-h script.
  4.  * DO NOT EDIT THIS FILE.
  5.  * Edit include/makefile.src and the configuration file instead.
  6.  */
  7.  
  8. #define X11 X11
  9. #define ABEKASA60 ABEKASA60
  10. #define ABEKASA62 ABEKASA62
  11. #define ALIAS ALIAS
  12. #define CUBICOMP CUBICOMP
  13. #define GIF GIF
  14. #define GRAYFILES GRAYFILES
  15. #define SGICONV SGICONV
  16. #define MACPAINT MACPAINT
  17. #define PBMPLUS PBMPLUS
  18. #define POSTSCRIPT POSTSCRIPT
  19. #define TARGA TARGA
  20. #define TIFF TIFF
  21. #define TIFF2p4 TIFF2p4
  22. #define VICAR VICAR
  23. #define WASATCH WASATCH
  24. #define WAVEFRONT WAVEFRONT
  25. #define IRISCC IRISCC
  26. #define CONST_DECL CONST_DECL
  27. #define NO_MAKE_MAKEFILE NO_MAKE_MAKEFILE
  28. #define NO_RANLIB NO_RANLIB
  29. #define NO_STATIC_LIB NO_STATIC_LIB
  30. #define USE_TIME_H USE_TIME_H
  31. #define SYS_V_SETPGRP SYS_V_SETPGRP
  32. #define USE_L_FLAG USE_L_FLAG
  33. #define USE_PROTOTYPES USE_PROTOTYPES
  34. #define USE_RANDOM USE_RANDOM
  35. #define USE_SHARED_LIB USE_SHARED_LIB
  36. #define USE_STDARG USE_STDARG
  37. #define USE_STDLIB_H USE_STDLIB_H
  38. #define USE_UNISTD_H USE_UNISTD_H
  39. #define VOID_STAR VOID_STAR
  40. #define USE_XLIBINT_H USE_XLIBINT_H
  41. #define X_SHARED_MEMORY X_SHARED_MEMORY
  42. /* -*-C-*- */
  43. /***************** From rle_config.tlr *****************/
  44.  
  45. /* CONST_DECL must be defined as 'const' or nothing. */
  46. #ifdef CONST_DECL
  47. #undef CONST_DECL
  48. #define CONST_DECL const
  49.  
  50. #else
  51. #define CONST_DECL
  52.  
  53. #endif
  54.  
  55. /* A define for getx11. */
  56. #ifndef USE_XLIBINT_H
  57. #define XLIBINT_H_NOT_AVAILABLE
  58. #endif
  59.  
  60. /* Typedef for void * so we can use it consistently. */
  61. #ifdef VOID_STAR
  62. typedef    void *void_star;
  63. #else
  64. typedef char *void_star;
  65. #endif
  66.  
  67. #ifdef USE_STDLIB_H
  68. #include <stdlib.h>
  69. #else
  70.  
  71. /* Some programs include files from other packages that also declare
  72.  * malloc.  Avoid double declaration by #define NO_DECLARE_MALLOC
  73.  * before including this file.
  74.  */
  75. #ifndef NO_DECLARE_MALLOC
  76. #ifdef USE_PROTOTYPES
  77. #   include <sys/types.h>    /* For size_t. */
  78.     extern void_star malloc( size_t );
  79.     extern void_star calloc( size_t, size_t );
  80.     extern void_star realloc( void_star, size_t );
  81.     extern void free( void_star );
  82. #else
  83.     extern void_star malloc();
  84.     extern void_star realloc();
  85.     extern void_star calloc();
  86.     extern void free();
  87.     extern void cfree();
  88. #endif /* USE_PROTOTYPES */
  89. #endif /* NO_DECLARE_MALLOC */
  90.  
  91. #ifdef USE_PROTOTYPES
  92. extern char *getenv( CONST_DECL char *name );
  93. #else
  94. extern char *getenv();
  95. #endif
  96.  
  97. #endif /* USE_STDLIB_H */
  98.  
  99. #ifdef USE_STRING_H
  100.     /* SYS V string routines. */
  101. #   include <string.h>
  102. #   define index strchr
  103. #   define rindex strrchr
  104. #else
  105.     /* BSD string routines. */
  106. #   include <strings.h>
  107. /* Really, should define USE_STRING_H if __STDC__, but be safe. */
  108. #ifdef __STDC__
  109. #   define index strchr
  110. #   define rindex strrchr
  111. #endif /* __STDC__ */
  112. #endif /* USE_STRING_H */
  113.  
  114. #ifdef NEED_BSTRING
  115.     /* From bstring.c. */
  116.     /*****************************************************************
  117.      * TAG( bstring bzero )
  118.      * 'Byte string' functions.
  119.      */
  120. #   define bzero( _str, _n )        memset( _str, '\0', _n )
  121. #   define bcopy( _from, _to, _count )    memcpy( _to, _from, _count )
  122. #endif
  123.  
  124. #ifdef NEED_SETLINEBUF
  125. #   define setlinebuf( _s )    setvbuf( (_s), NULL, _IOLBF, 0 )
  126. #endif
  127.